package com.wang.service;

import com.wang.domain.ExpertEntity;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by Administrator on 2017/2/11 0011.
 */
public interface IService<T> {

    Page<T> findAll();

    T add(T entity);

    T edit(T entity);

    void delete(T entity);
}
